import com.github.pagehelper.PageInfo;
import dao.IUserDao;
import domain.Orders;
import domain.Users;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import service.IOrdersService;
import service.IRoleService;

import java.util.List;

/**
 * @author Freedy
 * @date 2020/12/23 20:45
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath:applicationContext.xml"})
public class test {

    @Autowired
    private IRoleService roleService;
    @Test
    public void test() throws Exception {
        System.out.println(roleService.findAll());
    }
}
